/*
 * @version: 1.0.0
 * @Author: fl
 * @Date: 2020-08-04 09:03:20
 * @LastEditTime: 2020-08-04 09:05:58
 */
import http from '@/utils/http'
export function createToken(params) {
    const { code = '' } = params;
    return http.post(`/tokens?code=${code}`, params);
  }
  
  export function deleteToken(id = 0) {
    return http.delete(`/tokens/${id}`);
  }
  
